package zzz.model;

public class Reply {

	private int rpId;
	private int postId;
	private int userId;
	private String rpMain;
	private User user;
	
	public Reply(int rpId, int postId, int userId, String rpMain, User user) {
		super();
		this.rpId = rpId;
		this.postId = postId;
		this.userId = userId;
		this.rpMain = rpMain;
		this.user = user;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public int getRpId() {
		return rpId;
	}
	public void setRpId(int rpId) {
		this.rpId = rpId;
	}
	public int getPostId() {
		return postId;
	}
	public void setPostId(int postId) {
		this.postId = postId;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getRpMain() {
		return rpMain;
	}
	public void setRpMain(String rpMain) {
		this.rpMain = rpMain;
	}
	@Override
	public String toString() {
		return "Reply [rpId=" + rpId + ", postId=" + postId + ", userId=" + userId + ", rpMain=" + rpMain + "]";
	}
	public Reply(int rpId, int postId, int userId, String rpMain) {
		super();
		this.rpId = rpId;
		this.postId = postId;
		this.userId = userId;
		this.rpMain = rpMain;
	}
	public Reply() {
		super();
	}
	
	
}
